package snapex.expense.service.impl;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

import snapex.core.model.Expense;

public class ExpenseValidator implements Validator{

	@Override
	public boolean supports(Class<?> clazz) {
		return Expense.class.isAssignableFrom(clazz);
	}

	@Override
	public void validate(Object target, Errors errors) {
		Expense expense = (Expense)target;
		
		
	}
}
